<template>
  <div id="app" style="background-color: #f4f4f4">
    <router-view />
    <ToBarVue v-if="!$route.meta.isaus"></ToBarVue>
  </div>
</template>

<script>
import ToBarVue from "./components/ToBar.vue";
export default {
  name: "App",
  data() {
    return {
      active: 0,
    };
  },
  components: {
    ToBarVue,
  },
  created() {
    let user = this.Sto.Session.get("user");
    if (user) {
      this.$store.commit("setuser", user);
    }
  },
};
</script>

<style>
/* * {
  background-color: #f4f4f4;
} */
</style>
